package com.zide.file.config;

import cn.hutool.core.util.StrUtil;
import com.zide.file.config.properties.LocalProperties;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.io.File;
import java.lang.invoke.StringConcatFactory;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

/**
 * @author 石添
 * @date 2024/4/29 16:40
 */
@Slf4j
@Configuration
@AllArgsConstructor
@EnableConfigurationProperties(LocalProperties.class)
public class LocalFileConfig {

    private LocalProperties localProperties;

    public String getBaseDir() {
        return localProperties.getBaseDir();
    }

    public String getNgProxy() {
        return localProperties.getNgProxy();
    }
}
